<?php
use yii\helpers\url;
use yii\helpers\html;
?>
<?=Html::beginForm('','post',['class' => 'form-horizontal']);?>
<div class="form-group">
	<div class="row" style="margin: ">
		<div class="col-xs-1"><?=Html::Label('标题','title',['class'=>'control-label'])?></div>
		<div class="col-xs-11">
		<?=Html::activeInput('text',$model,'title',['class'=>'form-control '])?>
		<?=Html::error($model,'title',['class'=>'error'])?>
		</div>
	</div>
	<div class="row" >
		<div class="col-xs-1"><?=Html::label('简介','description',['class'=>'control-label'])?></div>
		<div class="col-xs-11">
		<?=Html::activeTextArea($model,'description',['class'=>'form-control '])?>
		<?=Html::error($model,'description',['class'=>'error'])?>
		</div>
	</div>

	<div class="row">
		<div class="col-xs-1"><?=Html::label('内容','content',['class'=>'control-label'])?></div>
		<div class="col-xs-11">
		<?=Html::activeTextArea($model,'content',['class'=>'form-control '])?>
		<?=Html::error($model,'content',['class'=>'error'])?>
		</div>
	</div>
</div>
<?=Html::endForm();?>